﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommunityToolkit.Mvvm.ComponentModel;
using 多协议通信平台.Base;

namespace 多协议通信平台.Models
{
    public partial class FinsDataPoint : ObservableObject
    {
        [ObservableProperty]
        private string startAddr;

        public ObservableCollection<DataPoint> DataPoints { get; set; } = new ObservableCollection<DataPoint>();
    }

    public partial class DataPoint : ObservableObject
    {
        [ObservableProperty]
        private string pointAddress;

        [ObservableProperty]
        private string pointValue;
    }
}
